//
//  TDCarSourceListHeadView.h
//  TBRentClient
//
//  Created by tonbright on 2018/6/13.
//  Copyright © 2018年 tonbright. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol TDCarSourceListHeadViewDelegate <NSObject>

@optional
- (void)carSourceListHeadViewBtnClick:(NSInteger)tag;
@end
@interface TDCarSourceListHeadView : UIView<UICollectionViewDelegate,UICollectionViewDataSource>
+ (instancetype)carSourceListHeadView;
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet UICollectionViewFlowLayout *flowLayout;
@property (nonatomic,strong)NSArray *titleArray;
@property (weak, nonatomic) IBOutlet UIScrollView *scrolView;
@property (nonatomic, weak) id<TDCarSourceListHeadViewDelegate> delegate;
@end
